Separation Logic for Non-local Control Flow and Block Scope Variables

نویسندگان

  • Robbert Krebbers
  • Freek Wiedijk
چکیده

We present an approach for handling non-local control flow (goto and return statements) in the presence of allocation and deallocation of block scope variables in imperative programming languages. We define a small step operational semantics and an axiomatic semantics (in the form of a separation logic) for a small C-like language that combines these two features, and which also supports pointers to block scope variables. Our operational semantics represents the program state through a generalization of Huet’s zipper data structure. We prove soundness of our axiomatic semantics with respect to our operational semantics. This proof has been fully formalized in Coq.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Logic for Information Flow Analysis of Pointer Programs

This paper specifies a nontermination-insensitive, interprocedural, information flow analysis for objectoriented programs via a Hoare-like logic. Pointer aliasing is ubiquitous in such programs, and can potentially leak confidential information. Therefore, assertions in the logic not only describe the noninterference property that formalizes confidentiality, but also describe aliasing propertie...

متن کامل

Extracting the Parallelism in Program with non-structured statements

Non-structured programs are diicult to parallelize. First, the scope of the non-structured statements may interact and the execution trajectories can overlap, preventing the unique determination of the scope of a control statement. Second, even if the scope of a non-structured statement is determined and is converted into a while loop, this while loop is still diicult to parallelize due to the ...

متن کامل

Numerical solution of unsteady flow on airfoils with vibrating local flexible membrane

  Unsteady flow separation on the airfoils with local flexible membrane (LFM) has been investigated in transient and laminar flows by the finite volume element method. A unique feature of the present method compared with the common computational fluid dynamic softwares, especially ANSYS CFX, is the modification using the physical influence scheme in convection fluxes at cell surfaces. In contr...

متن کامل

Thickness Measuring of Thin Metal by Non Destructive with Fuzzy Logic Control System

Non-Destructive Testing & Evaluation methods are developed to inspect and investigate materials and structures. Ultrasonic Testing is an NDT method can be used for measuring the thickness of objects, as one of its significant applications. The objective of this paper is designing and applying an intelligent UT fuzzy control system for evaluating the thickness of thin metal objects in a range of...

متن کامل

Thickness Measuring of Thin Metal by Non Destructive with Fuzzy Logic Control System

Non-Destructive Testing & Evaluation methods are developed to inspect and investigate materials and structures. Ultrasonic Testing is an NDT method can be used for measuring the thickness of objects, as one of its significant applications. The objective of this paper is designing and applying an intelligent UT fuzzy control system for evaluating the thickness of thin metal objects in a range of...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2013